MacBinary | 1990-08-16 | 1.3 KB | [TEXT/MPS ] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
1% | dexvert | Text File (text/txt) | fallback | Supported |
100% | file | MacBinary II, inited, Thu Aug 16 16:00:33 1990, modified Thu Aug 16 16:00:33 1990, creator 'MPS ', type ASCII, 744 bytes "A5World.h" , at 0x368 382 bytes resource | default (weak) | |
99% | file | data | default | |
74% | TrID | Macintosh plain text (MacBinary) | default | |
25% | TrID | MacBinary 2 | default (weak) | |
100% | siegfried | fmt/1762 MacBinary (II) | default | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [TEXT] |
macFileCreator | [MPS ] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 09 41 35 57 6f 72 6c | 64 2e 68 00 00 00 00 00 |..A5Worl|d.h.....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 09 00 44 00 |.TEXTMPS| .....D.|
|00000050| 00 00 00 00 00 02 e8 00 | 00 01 7e a2 f0 ab e1 a2 |........|..~.....|
|00000060| f0 ab e1 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 ec e1 00 00 |........|........|
|00000080| 2f 2a 0d 09 41 35 57 6f | 72 6c 64 2e 68 0d 09 0d |/*..A5Wo|rld.h...|
|00000090| 09 49 6e 74 65 72 66 61 | 63 65 20 74 6f 20 41 35 |.Interfa|ce to A5|
|000000a0| 20 77 6f 72 6c 64 20 6d | 61 69 6e 74 65 6e 61 6e | world m|aintenan|
|000000b0| 63 65 20 63 6c 61 73 73 | 2e 0d 09 0d 09 62 79 20 |ce class|.....by |
|000000c0| 50 61 74 72 69 63 6b 20 | 42 65 61 72 64 2e 0d 09 |Patrick |Beard...|
|000000d0| 0d 09 a9 31 39 39 30 20 | 62 79 20 50 61 74 72 69 |...1990 |by Patri|
|000000e0| 63 6b 20 43 2e 20 42 65 | 61 72 64 2e 20 20 41 6c |ck C. Be|ard. Al|
|000000f0| 6c 20 72 69 67 68 74 73 | 20 72 65 73 65 72 76 65 |l rights| reserve|
|00000100| 64 2e 0d 20 2a 2f 0d 0d | 23 69 66 6e 64 65 66 20 |d.. */..|#ifndef |
|00000110| 5f 5f 41 35 57 4f 52 4c | 44 5f 5f 0d 23 64 65 66 |__A5WORL|D__.#def|
|00000120| 69 6e 65 20 5f 5f 41 35 | 57 4f 52 4c 44 5f 5f 0d |ine __A5|WORLD__.|
|00000130| 0d 23 69 6e 63 6c 75 64 | 65 20 3c 4d 65 6d 6f 72 |.#includ|e <Memor|
|00000140| 79 2e 68 3e 0d 23 69 6e | 63 6c 75 64 65 20 3c 53 |y.h>.#in|clude <S|
|00000150| 74 64 44 65 66 2e 68 3e | 0d 0d 63 6c 61 73 73 20 |tdDef.h>|..class |
|00000160| 41 35 57 6f 72 6c 64 20 | 7b 0d 70 75 62 6c 69 63 |A5World |{.public|
|00000170| 3a 0d 09 41 35 57 6f 72 | 6c 64 28 29 3b 09 09 09 |:..A5Wor|ld();...|
|00000180| 09 09 09 09 2f 2f 20 63 | 6f 6e 73 74 72 75 63 74 |....// c|onstruct|
|00000190| 6f 72 20 73 65 74 73 20 | 75 70 20 77 6f 72 6c 64 |or sets |up world|
|000001a0| 2e 0d 09 7e 41 35 57 6f | 72 6c 64 28 29 3b 09 09 |...~A5Wo|rld();..|
|000001b0| 09 09 09 09 09 2f 2f 20 | 64 65 73 74 72 75 63 74 |.....// |destruct|
|000001c0| 6f 72 20 64 65 73 74 72 | 6f 79 73 20 69 74 2e 0d |or destr|oys it..|
|000001d0| 09 0d 09 2f 2f 20 6d 61 | 69 6e 20 66 75 6e 63 74 |...// ma|in funct|
|000001e0| 69 6f 6e 73 2c 20 45 6e | 74 65 72 20 73 65 74 73 |ions, En|ter sets|
|000001f0| 20 41 35 20 74 6f 20 70 | 6f 69 6e 74 20 74 6f 20 | A5 to p|oint to |
|00000200| 6f 75 72 20 77 6f 72 6c | 64 2e 0d 09 76 6f 69 64 |our worl|d...void|
|00000210| 20 45 6e 74 65 72 28 29 | 3b 09 09 09 09 09 09 2f | Enter()|;....../|
|00000220| 2f 20 67 6f 20 69 6e 74 | 6f 20 6f 75 72 20 77 6f |/ go int|o our wo|
|00000230| 72 6c 64 2e 0d 09 76 6f | 69 64 20 4c 65 61 76 65 |rld...vo|id Leave|
|00000240| 28 29 3b 09 09 09 09 09 | 09 2f 2f 20 72 65 73 74 |();.....|.// rest|
|00000250| 6f 72 65 20 6f 6c 64 20 | 41 35 20 63 6f 6e 74 65 |ore old |A5 conte|
|00000260| 78 74 2e 0d 09 0d 09 2f | 2f 20 65 72 72 6f 72 20 |xt...../|/ error |
|00000270| 72 65 70 6f 72 74 69 6e | 67 2e 0d 09 4f 53 45 72 |reportin|g...OSEr|
|00000280| 72 20 52 65 73 75 6c 74 | 28 29 09 7b 20 72 65 74 |r Result|().{ ret|
|00000290| 75 72 6e 20 65 72 72 6f | 72 3b 20 7d 0d 0d 70 72 |urn erro|r; }..pr|
|000002a0| 69 76 61 74 65 3a 0d 09 | 4f 53 45 72 72 20 65 72 |ivate:..|OSErr er|
|000002b0| 72 6f 72 3b 09 09 09 09 | 09 09 2f 2f 20 74 68 65 |ror;....|..// the|
|000002c0| 20 6c 61 73 74 20 65 72 | 72 6f 72 20 74 68 61 74 | last er|ror that|
|000002d0| 20 6f 63 63 75 72 72 65 | 64 2e 0d 09 6c 6f 6e 67 | occurre|d...long|
|000002e0| 20 77 6f 72 6c 64 53 69 | 7a 65 3b 09 09 09 09 09 | worldSi|ze;.....|
|000002f0| 09 2f 2f 20 68 6f 77 20 | 62 69 67 20 6f 75 72 20 |.// how |big our |
|00000300| 67 6c 6f 62 61 6c 73 20 | 61 72 65 2e 0d 09 50 74 |globals |are...Pt|
|00000310| 72 20 6f 75 72 41 35 3b | 09 09 09 09 09 09 09 2f |r ourA5;|......./|
|00000320| 2f 20 74 68 65 20 73 74 | 6f 72 61 67 65 20 66 6f |/ the st|orage fo|
|00000330| 72 20 74 68 65 20 41 35 | 20 77 6f 72 6c 64 2e 0d |r the A5| world..|
|00000340| 09 50 74 72 20 6f 6c 64 | 41 35 3b 09 09 09 09 09 |.Ptr old|A5;.....|
|00000350| 09 09 2f 2f 20 6f 6c 64 | 20 41 35 2e 0d 7d 3b 0d |..// old| A5..};.|
|00000360| 0d 23 65 6e 64 69 66 0d | 00 00 00 00 00 00 00 00 |.#endif.|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000390| 00 00 4c 38 0a 47 65 74 | 47 6c 6f 62 61 6c 73 65 |..L8.Get|Globalse|
|000003a0| 01 00 00 00 00 05 00 00 | 62 e7 a1 1e c8 f7 a1 1e |........|b.......|
|000003b0| 09 41 35 57 6f 72 6c 64 | 2e 68 02 00 00 00 54 45 |.A5World|.h....TE|
|000003c0| 58 54 4d 50 53 20 01 00 | 00 09 00 44 00 00 00 00 |XTMPS ..|...D....|
|000003d0| 00 00 54 45 58 54 4d 50 | 53 20 01 00 00 09 00 44 |..TEXTMP|S .....D|
|000003e0| 00 00 00 e6 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 a1 6b 5b 50 00 00 | 02 e8 00 00 01 7e 54 21 |...k[P..|.....~T!|
|00000400| 01 00 ff ef 01 aa 00 00 | 00 00 67 aa 00 00 00 03 |........|..g.....|
|00000410| d6 aa 00 03 d8 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000420| a1 31 13 02 a1 31 13 85 | 00 00 00 00 00 00 00 00 |.1...1..|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 03 03 |........|........|
|00000440| 00 0b 03 1e 00 01 03 2e | 00 01 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 01 00 00 00 01 20 00 00 | 00 00 62 cf 00 00 00 00 |..... ..|..b.....|
|00000470| 04 17 00 00 08 00 00 00 | 00 00 01 7e 00 00 04 00 |........|...~....|
|00000480| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 61 73 73 |...H..Mo|naco.ass|
|00000490| 20 41 35 57 6f 72 6c 64 | 20 7b 0d 70 75 62 6c 69 | A5World| {.publi|
|000004a0| 63 3a 0d 09 41 35 00 06 | 00 04 01 0f 00 05 01 db |c:..A5..|........|
|000004b0| 02 7b 01 0f 00 05 01 db | 02 7b a2 f0 65 91 00 00 |.{......|.{..e...|
|000004c0| 00 1d 00 00 00 1d 00 00 | 01 e4 01 00 00 00 01 00 |........|........|
|000004d0| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 29 5c cc |...L...L|...2.)\.|
|000004e0| 0d 3a 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.:.....2|..MPSR..|
|000004f0| 00 0a 03 ed ff ff 00 00 | 00 00 00 2b 03 f4 00 00 |........|...+....|
+--------+-------------------------+-------------------------+--------+--------+